package DP.abstractFactory.nvwa.factory.impl;

import DP.abstractFactory.nvwa.factory.AbstractHumanFactory;
import DP.abstractFactory.nvwa.human.abst.AbstractChinese;
import DP.abstractFactory.nvwa.human.abst.AbstractJapanese;
import DP.abstractFactory.nvwa.human.abst.AbstractKorean;
import DP.abstractFactory.nvwa.human.impl.*;

/**
 * @author msi
 * 生成女性的工厂
 */
public class MaleHumanFactory extends AbstractHumanFactory {

    @Override
    public AbstractChinese createChineseHuman() {
        return new MaleChinese();
    }

    @Override
    public AbstractJapanese createJapaneseHuman() {
        return new MaleJapanese();
    }

    @Override
    public AbstractKorean createKoreanHuman() {
        return new MaleKorean();
    }
}
